﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommandProcessor.Command
{
    public class CommandResult : ICommandResult
    {
        public CommandResult(bool success)
        {
            this.Success = success;
        }

        public CommandResult(bool success, int id)
        {
            this.Success = success;
            this.ID = id;
        }

        public bool Success { get; protected set; }
        public int ID { get; protected set; }
    }

    public interface ICommandResult
    {
        bool Success { get; }
        int ID { get; }
    }
}
